<?php

class A extends Entity
{
	/**
	 * getter name
	 *
	 * @return String
	 */
	public function getName()
	{
		return $this->name;
	}
		
	/**
	 * Setter name
	 *
	 * @param String name
	 */
	public function setName($name)
	{
		$this->name = $name;
	}	
	
	/**
	 * getter bs
	 *
	 * @return array[]B
	 */
	public function getBs()
	{
		return $this->bs;
	}
		
	/**
	 * Setter bs
	 *
	 * @param array[]B bs
	 */
	public function setBs($bs)
	{
		$this->bs = $bs;
	}
		
	protected function __meta()
	{
		parent::__meta();

		Map::setField($this,new TString("name"));
		Map::setField($this,new ManyToMany("bs","B",'as',ManyToMany::LEFT));
	}
}


?>